package cn.easier.activity.console.repository;

import cn.easier.activity.web.entity.ActivityRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface ActivityRecordRepository extends JpaRepository<ActivityRecord, String>,JpaSpecificationExecutor<ActivityRecord> {

    List<ActivityRecord> findByActivityId(Integer activityId);

}
